package io.renren.modules.lucky.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.lucky.dao.AppSysShareHistoryDao;
import io.renren.modules.lucky.entity.AppSysShareHistoryEntity;
import io.renren.modules.lucky.service.AppSysShareHistoryService;

@Service("appSysShareHistoryService")
public class AppSysShareHistoryServiceImpl extends ServiceImpl<AppSysShareHistoryDao, AppSysShareHistoryEntity> implements AppSysShareHistoryService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<AppSysShareHistoryEntity> page = this.page(
                new Query<AppSysShareHistoryEntity>().getPage(params), new QueryWrapper<AppSysShareHistoryEntity>()
        );
        return new PageUtils(page);
    }

}